package com.action.gulimall.order.to;

import com.action.gulimall.order.entity.OrderEntity;
import com.action.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author sl shilun217@qq.com
 * @Deacription TODO
 * @date 2021/07/03/21:06
 **/
@Data
public class OrderCreateTo implements Serializable {
    private OrderEntity order;

    private List<OrderItemEntity> orderItems;

    /** 订单计算的应付价格 **/
    private BigDecimal payPrice;

    /** 运费 **/
    private BigDecimal fare;
}
